﻿<%@ Page Language="C#" MasterPageFile="~/aspnet/admin/ForValidation.master" AutoEventWireup="true" CodeFile="CX_Collert_Class_Show.aspx.cs" Inherits="aspnet_admin_bock_collect_CX_Collert_Class_Show" Title="显示采集分类" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
       &nbsp;<table align="center" border="0" cellpadding="2" cellspacing="1" class="border"
        height="116" width="100%">
        <tr>
            <td align="center" class="topbg" colspan="2" style="height: 30px">
                <strong>采集管理</strong></td>
        </tr>
        <tr>
            <td class="tdbg" style="width: 223px; height: 27px">
                提示信息:</td>
            <td class="tdbg" style="width: 787px; height: 27px">
                <asp:Label ID="tt" runat="server" CssClass="font-4"></asp:Label></td>
        </tr>
    </table>
    &nbsp;<br />
    <asp:GridView id="GridView1"
    OnRowDataBound="GridView1_RowDataBound"
     runat="server" CssClass="border" PageSize="5000" CellPadding="3" EmptyDataText="没有数据请添加" Width="100%" AutoGenerateColumns="False" DataKeyNames="CX_Collect_Class_id" 
 ><Columns>
        <asp:BoundField DataField="CX_Collect_Class_id" HeaderText="采集分类编号" InsertVisible="False"
            ReadOnly="True" SortExpression="CX_Collect_Class_id" >
            <ItemStyle CssClass="tdbg" />
            <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
        </asp:BoundField>
        <asp:BoundField DataField="CX_Collect_Class_Name" HeaderText="采集名" SortExpression="CX_Collect_Class_Name" >
                    <ItemStyle CssClass="tdbg" />
            <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
        </asp:BoundField>
     <asp:TemplateField HeaderText="采集页面" AccessibleHeaderText="CX_Collect_Class_Page">
         <EditItemTemplate>
             <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
         </EditItemTemplate>
         <ItemStyle CssClass="tdbg" />
         <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
         <ItemTemplate>
           <a href="<%#Eval("CX_Collect_Class_Page")%>" target="_blank" class="link2"><%#Eval("CX_Collect_Class_Page")%></a>
         </ItemTemplate>
     </asp:TemplateField>
     <asp:TemplateField HeaderText="操作" ShowHeader="False">
         <ItemStyle CssClass="tdbg" />
         <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
         <ItemTemplate>
             <asp:LinkButton ID="KeyWord_edit" runat="server" OnClick="KeyWord_edit_Click" CommandArgument='<%#Eval("CX_Collect_Class_id") %>'>编辑 <%#Eval("CX_Collect_Class_Name")%> 数据</asp:LinkButton>
             &nbsp;&nbsp; &nbsp;
             
             
             <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandArgument='<%#Eval("CX_Collect_Class_id") %>' OnClick="delcc"
                 Text="删除"></asp:LinkButton>
                 
              
         </ItemTemplate>
     </asp:TemplateField>
</Columns>

<PagerStyle CssClass="tdbg" HorizontalAlign="Center" Font-Size="9pt" Font-Underline="False"></PagerStyle>
</asp:GridView>
    &nbsp;
</asp:Content>

